package com.jtmg.glorykingsnews.service;

import com.github.pagehelper.PageInfo;
import com.jtmg.glorykingsnews.domain.TbMarket;
import com.jtmg.glorykingsnews.vo.Market.MarketQuery;
import com.jtmg.glorykingsnews.vo.Market.MarketVoForQuery;
import com.jtmg.glorykingsnews.vo.commom.LayuiReturnVo;
import com.jtmg.glorykingsnews.vo.commom.MsgVo;
import com.jtmg.glorykingsnews.vo.goods.GoodsCategoryQuery;

public interface TbMarketService{

    LayuiReturnVo<MarketVoForQuery> pageQuery(MarketQuery query);

    MsgVo<TbMarket> queryTheMarket(String id);

    MsgVo createMarket(TbMarket market);

    MsgVo deleteMarket(int id);

    MsgVo updateMarket(TbMarket market);

    PageInfo<TbMarket> pageListByGoodsCategory(GoodsCategoryQuery query);

}
